﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace BaseHelper
{
    public class AppHelper
    {
        public static void Sleep(int msecond)
        {
            msecond /= 10;
            while (msecond-- > 0)
            {
                Thread.Sleep(10);
                Application.DoEvents();
            }

        }

    }
}
